from django.conf.urls import include, url
from django.contrib import admin

from . import settings

urlpatterns = [
    # Examples:
    # url(r'^$', 'xiaobai.views.home', name='home'),
    # url(r'^blog/', include('blog.urls')),

    url(r'^admin/', include(admin.site.urls)),
    url(r'^wchat/', include('wchat.urls')),
]


#URL for static file
# if not settings.DEBUG:
#     urlpatterns +=[
#        url(r'^static/(?P<path>.*)$','django.views.static.serve',
#         {'document_root':settings.STATICFILES_DIRS[0], 'show_indexes': True}),        
#        ]
